import { post, get } from "@/utils/request";

const modules = {
  //获取会话聊天信息
  getMessageList: (data) => post("/talk/messagePage", data),

  //发送会话消息
  sendMessage: (data) => post("/talk/sendMessage", data),

  //系统通知
  systemLog: (params) => get("/notice/sendlog", params),

  //一键删除
  deleteSystemMessage: () => post("/notice/delete"),

  //一键已读
  readSystemMessage: () => post("/notice/read"),

  //已读一个消息
  readOneSystemMessage: (data) => post("/notice/detail", data),
};
export default modules;
